package com.thd.springboot.project.codegenerator.service;

import com.thd.springboot.framework.generator.core.dto.TemplateData;
import com.thd.springboot.project.codegenerator.dto.GeneratResultDto;

import java.util.List;
import java.util.Map;

public interface CodeGenService {
    public TemplateData getTemplateData(String tableName) throws Exception;
    public String createCodeToZip(List<String> ids, List<String> tableNames) throws Exception;
    public Map<String,List<GeneratResultDto>> createCodeToData(List<String> ids, List<String> tableNames) throws Exception;
    public void createCode(List<String> ids, String tableName,TemplateData templateData,GenerateResultHandler generateResultHandler) throws Exception;
    public String createCode(String id, String tableName) throws Exception;
    public String createCode(String id, String tableName,TemplateData templateData) throws Exception;

}
